.device-model {
  .head-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    .iconfont {
      font-size: 20px;
      vertical-align: -1px;
    }
  }
  .device-info {
    @include flex_between;
    align-items: stretch;
    .img-box {
      position: relative;
      width: 260px;
      height: 260px;
      ::v-deep .ivu-carousel-arrow.left {
        left: 0;
      }
      ::v-deep .ivu-carousel-arrow.right {
        right: 0;
      }
      .img-list {
        border-radius: 8px;
        width: 260px;
        height: 260px;
        img {
          width: 260px;
          height: 260px;
          border-radius: 8px;
        }
      }
    }

    .info {
      margin-left: 20px;
      flex: 1;
      .name {
        font-weight: bold;
        font-size: 18px;
        .label {
          font-size: 12px;
          color: #FF7D17;
          height: 17px;
          padding: 0 2px;
          line-height: 17px;
          border: 1px solid #FF7D17;
          border-radius: 2px;
          vertical-align: 2px;
          margin-right: 5px;
        }
      }
      .cell-group {
        &.border {
          border-top: 1px solid #F4F4F4;
        }
        .cell {
          @include flex_between;
          padding: 6px 0;
          .price {
            span {
              font-family: changchun1hao;
              font-size: 20px;
            }
          }
          .pay-type {
            display: flex;
            justify-content: flex-end;
            align-items: baseline;
            flex-wrap: wrap;
            width: 230px;
            .pay-item {
              height: 24px;
              line-height: 24px;
              background: #FFFFFF;
              border-radius: 4px;
              border: 1px solid #E6E6E6;
              width: 98px;
              font-size: 13px;
              box-sizing: content-box;
              color: $-color-gray;
              margin-left: 8px;
              position: relative;
              cursor: pointer;
              outline: none;
              &:nth-child(3) {
                margin-top: 8px;
              }
              &.free-item {
                .free {
                  position: absolute;
                  right: -1px;
                  top: -20px;
                  height: 20px;
                  border-radius: 22px 22px 0 22px;
                  background: $-color-brown;
                  font-size: 10px;
                  color: #fff;
                  text-align: center;
                  line-height: 20px;
                  min-width: 96px;
                  &:after {
                    content: "";
                    position: absolute;
                    right: 0;
                    bottom: -10px;
                    background: radial-gradient(circle at left bottom, transparent 10px, $-color-brown 11px);
                    width: 10px;
                    height: 10px;
                  }
                }
                &.area .free {
                  background: $-color-orange;
                  &:after {
                    background: radial-gradient(circle at left bottom, transparent 10px, $-color-orange 11px);
                  }
                }
                &[disabled] {
                  cursor: not-allowed;
                  .free {
                    background: $-color-muted;
                    &:after {
                      background: radial-gradient(circle at left bottom, transparent 10px, $-color-muted 11px);
                    }
                  }
                }
              }
              .iconfont {
                font-size: 18px;
                vertical-align: -2px;
              }
              &.active {
                @include border_color();
                color: $-color-brown;
                @include background_color(1, 'minor_color')
              }
              &.area.active {
                border-color: $-color-orange;
                color: $-color-orange;
                background: #FFF4E2;
              }
            }
          }
          .money-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px 10px;
            flex: 1;
            margin-left: 20px;
            .money-item {
              text-align: center;
              background: #FFFFFF;
              border-radius: 4px;
              border: 1px solid #E6E6E6;
              cursor: pointer;
              font-size: 13px;
              .one {
                border-bottom: 1px solid #E6E6E6;
                padding: 6px 0 2px;
                color: $-color-gray;
                .line-price {
                  color: $-color-muted;
                }
              }
              .two {
                font-family: changchun1hao;
                color: $-color-brown;
                font-weight: 400;
                font-size: 13px;
                span {
                  font-size: 16px;
                }
              }
              &.active {
                border-color: #F6DD0A;
                background: #FFF8BD;
                .one {
                  color: $-color-brown;
                  border-bottom: 1px solid #F6DD0A;
                }
                .line-price {
                  color: $-color-brown;
                }
              }
            }
          }
        }
      }
    }
    .agree-box {
      position: relative;
      img {
        width: 16px;
        height: 16px;
      }
      .agree-tip {
        width: 80px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        background: linear-gradient( 134deg, #FFE925 0%, #FFD800 100%);
        filter: drop-shadow(0px 1px 8rpx rgba(96,75,0,0.25));
        box-shadow: 0px 1px 4px 0px rgba(96,75,0,0.25);
        border-radius: 17px;
        font-size: 12px;
        color: #000;
        position: absolute;
        bottom: -44px;
        left: -42px;
        &:after {
          content: "";
          width: 0;
          height: 0;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          border-bottom: 8px solid #FFE216;;
          position: absolute;
          top: -8px;
          right: 24px;
        }
      }
    }
  }
  .sku-box {
    margin-top: 20px;
    .sku-label {
      position: relative;
      @include background_color();
      height: 32px;
      width: 80px;
      text-align: center;
      line-height: 32px;
      font-weight: bold;
      &:after, &:before {
        content: "";
        position: absolute;
        height: 32px;
        @include background_color();
        width: 20px;
        transform: skewX(30deg);
      }
      &:after {
        right: -10px;
      }
      &:before {
        right: -22px;
        width: 6px;
      }
    }
    .sku-table {
      max-height: 200px;
      overflow: auto;
      border-top: 1px solid #f4f4f4;
      table {
        width: 100%;
        border-collapse: collapse;
      }
      .label {
        width: 20%;
      }
      tr:nth-child(even) {
        td {
          background: #f7f7f7;
        }
      }
      td {
        padding: 8px 16px;
        color: $-color-gray;
        word-break: break-all;
      }
    }
  }
}
.pay-tooltip {
  .status-img {
    font-size: 64px;
    color: $-color-orange;
    &.icon-success {
      @include font_color()
    }
  }
}

